<?php
namespace app\api\controller;
use app\api\controller\Base;
use app\common\util\AuthUtil;

/**
 * 用户中心基类
 * @author xiegaolei
 *
 */
class Center extends Base
{
	//用户信息
	protected $user = array();
	
	public function __construct(){
		parent::__construct();
		//身份验证
    	$result = AuthUtil::checkIdentity();
    	if ($result['status']){
    		$this->user = $result['msg'];
    	}
    	
    }
    
    
    
}
